import React, {Component} from 'react'
import ModifyArticleList from "../../../../components/ArticleManageComponent/ModifyArticleList";
import ArticleType from "../../../../types/ArticleType";
import {Route, Switch} from 'react-router'
import SpecificModifyArticle from '../../../../components/ArticleManageComponent/SpecificModifyArticle';

export default class ModifyDeviceKnowledge extends Component {
    render() {
        return (
            <Switch>
                <Route path='/siteManage/modifyReviewArticle' exact={true} render={()=>(<ModifyArticleList articleType={ArticleType.EVALUATION}/>)} />
                <Route path='/siteManage/modifyReviewArticle/:id'  component={SpecificModifyArticle}  />
            </Switch>
        )
    }
}
